<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../../lib/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<div class="layui-form-item layui-row">
		<div class="layui-col-xs6">
			<input id="userId" name="userId" type="hidden" >
			<label class="layui-form-label">登录名:</label>
			<div class="layui-inline">
				<input type="text" id="username"  class="layui-input"  lay-verify="required" placeholder="请输入登录名">
			</div>
		</div>
		<div class="layui-col-xs6">
			<label class="layui-form-label">邮箱:</label>
		<div class="layui-inline">
			<input type="text" id="email" class="layui-input" lay-verify="email" placeholder="请输入邮箱">
		</div>
		</div>
	</div>
	<div class="layui-form-item layui-row">
		<div class="layui-col-xs6">
		<label class="layui-form-label">电话号码:</label>
		<div class="layui-inline">
			<input type="text" id="mobile" class="layui-input" lay-verify="phone" placeholder="请输入手机号码">
		</div>
		</div>
		<div class="layui-col-xs6">
		<label class="layui-form-label">状态:</label>
			<div class="layui-input-inline">
				<select name="status" class="layui-select" >
					<option value="1">正常</option>
					<option value="0">冻结</option>
				</select>
			</div>
		</div>
	</div>
	<div class="layui-form-item layui-row">
			<label class="layui-form-label">角色:</label>
			<div id="roles" class="layui-input-block">
			</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addUser">保存</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../../lib/layui/layui.all.js"></script>
<script type="text/javascript" src="userAdd.js"></script>
</body>
</html>